﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.master" AutoEventWireup="true" CodeFile="QLTaiKhoanLM.aspx.cs" Inherits="Admin_QLTaiKhoanLM" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div id="page-heading">
    <h1>Danh sách tài khoản liên minh</h1>
    <h5>
        <asp:Label ID="LabelStatus" runat="server" Text="" ForeColor="Red"></asp:Label>
    </h5>
</div>
    
    <table border="0" width="100%" cellpadding="0" cellspacing="0" id="content-table">
        <tr>
	        <th rowspan="3" class="sized"><img src="../images/shared/side_shadowleft.jpg" width="20" height="200" alt="" /></th>
	        <th class="topleft"></th>
	        <td id="tbl-border-top">&nbsp;</td>
	        <th class="topright"></th>
	        <th rowspan="3" class="sized"><img src="../images/shared/side_shadowright.jpg" width="20" height="200" alt="" /></th>
        </tr>
        
        <tr>
	        <td id="tbl-border-left"></td>

            <td>
                <div id="content-table-inner">
                    <asp:GridView ID="GridView1" runat="server"  CssClass="mGrid" EmptyDataText="Không có dữ liệu"
                    Font-Size="Small" AutoGenerateEditButton="True" AllowPaging="True" 
                        AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="MaGiaoDich" 
                        DataSourceID="EntityDataSource" AutoGenerateDeleteButton="True">
                        <Columns>
                            <asp:BoundField DataField="MaGiaoDich" HeaderText="Mã giao dịch" ReadOnly="True" 
                                SortExpression="MaGiaoDich" />                            
                            <asp:BoundField DataField="TenLienMinh" HeaderText="Tên liên minh" 
                                SortExpression="TenLienMinh" />
                            <asp:BoundField DataField="LinkWS" HeaderText="Link WS" 
                                SortExpression="LinkWS" />
                            <asp:BoundField DataField="TenWS" HeaderText="Tên WS" SortExpression="TenWS" />
                            <asp:CheckBoxField DataField="DuocKichHoat" HeaderText="Được kích hoạt" 
                                SortExpression="DuocKichHoat" />
                            <asp:CheckBoxField DataField="DuocGiaoDich" HeaderText="Được giao dịch 2 chiều" 
                                SortExpression="DuocGiaoDich" />
                            <asp:BoundField DataField="MaGDNH" HeaderText="Mã GD ngân hàng" 
                                SortExpression="MaGDNH" />
                            <asp:BoundField DataField="MatKhauGDNH" HeaderText="Mât khẩu GD" 
                                SortExpression="MatKhauGDNH" />
                        </Columns>
                    </asp:GridView>
                    
                    <asp:EntityDataSource ID="EntityDataSource" runat="server" 
                        ConnectionString="name=MSBDATAEntities" DefaultContainerName="MSBDATAEntities" 
                        EnableFlattening="False" EntitySetName="TAI_KHOAN_LIEN_MINH" 
                        EntityTypeFilter="TAI_KHOAN_LIEN_MINH" EnableUpdate="True" EnableDelete="True"
                        >
                    </asp:EntityDataSource>
                    
                    <div class="clear">
                </div>
                </div>                
            </td>
            <td id="tbl-border-right"></td>
        </tr>
        <tr>
	        <th class="sized bottomleft"></th>
	        <td id="tbl-border-bottom">&nbsp;</td>
	        <th class="sized bottomright"></th>
        </tr>
    </table>
 
    <div class="clear"></div>
</asp:Content>

